<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
  <title>Administration</title>

  <meta http-equiv="content-type" content="text/html; charset=UTF-8">

  <link type="text/css" rel="stylesheet"href="css/gestion.css" >
  <link type="text/css" rel="stylesheet" href="themes/mac_os_x.css" >
  <link type="text/css" rel="stylesheet" href="themes/default.css" >	

  <script type="text/javascript" src="js/prototype.js"></script>
  <script type="text/javascript" src="js/window.js"></script>
  <script type="text/javascript" src="js/je.js"></script>
  <script type="text/javascript" src="js/admin.ajaxclt.js"></script>
</head>
<body>

<ul id="menu-header">
  <li><a href="index.php">Accueil</a></li>
  <li class="current"><a href="admin.php">Administration</a></li>
  <li><a href="#" id="btn_creer_user">Nouvel utilisateur</a></li>
  <li><a href="index.php?action=logout">Déconnexion</a></li>
</ul>

<h1>Gestion des utilisateurs</h1>

<table class="result">
<thead>
<tr>
  <th>Login</th>
  <th>Nom</th>
  <th>Permissions</th></tr>
</thead>
<tbody id="users">
</tbody>
</table>

<div id="div_infos_user">
  <form action="#">
  <div>
  <input type="hidden" name="action" id="user_action">
  <input type="hidden" name="uid" id="user_id">
  <table>
  <tr>
    <td><label for="user_login">Login :</label></td>
    <td><input type="text" name="login" id="user_login"></td></tr>
  <tr>
    <td><label for="user_name">Nom :</label></td>
    <td><input type="text" name="name" id="user_name"></td></tr>
  <tr>
    <td><label for="user_perms">Permission :</label></td>
    <td><?php echo $perm_select; ?></td></tr>
  </table>
  <input type="submit" id="user_btn">
  </div>
  </form>
</div>

</body>
</html>
